import Vue from 'vue'
import VueX from 'vuex'
import App from './App'

Vue.use(VueX)
const store = new VueX.Store({
	state:{
		name:1
	},
	getters:{
		name1(state){
			return state.name+=1
		}
	}
})
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App,
	store
})
app.$mount()
